<?php
	include "function.php";
	include "constants.php";
	error_reporting(0);
	session_start();
	mysql_connect($host,$user,$pass);
	mysql_select_db($base);
	
	function head($page) {
		echo <<<Head
<!DOCTYPE html>
<html>
	<head>
		<title>Planet Creator - {$page}</title>
		<link rel="stylesheet" type="text/css" href="style.css" />
		<script src="script.js"></script>
		<script src="//ajax.googleapis.com/ajax/libs/jquery/2.0.0/jquery.min.js"></script>
	</head>
	<body>
		<div id="container">
			<div id="content">
Head;
	}
	
	function foot() {
		echo <<<Foot
			</div>
			<div id="footer">
				Developed by Preston Cross aka Crimson Dynamo
				<br />
				<a href="http://www.swcombine.com/">Star Wars Combine</a> || <a href="index.php">Home</a> || <a href="#">Blog</a>  || <a href="#">Source</a>
			</div>
		</div>
	</body>
</html>
Foot;
	}